package com.ocom.webapi.vo.unitaccount;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AddVo implements Serializable {


    private static final long serialVersionUID = -6991187560893405812L;
    @NotNull(message = "accountType 不能为空")
    @JsonProperty("accountType")
    private String accountType;
    @NotNull(message = "comId 不能为空")
    @JsonProperty("comId")
    private Long comId;
    @NotBlank(message = "password 不能为空")
    private String password;
    @NotBlank(message = "account 不能为空")
    private String account;
    private String phone;
}
